package com.gagakuai.engine.impl.interceptor.defaultImpl;

import com.gagakuai.engine.impl.interceptor.CommandInterceptor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/*
 * @program: common-starters
 * @description: 命令拦截器基类
 * @author: houhong
 * @create: 2023-01-01 23:18
 */
public abstract class AbstractCommandInterceptor implements CommandInterceptor {

    protected final Logger logger = LoggerFactory.getLogger(this.getClass());

    private CommandInterceptor next;


    @Override
    public CommandInterceptor getNext() {
        return this.next;
    }

    @Override
    public void setNext(CommandInterceptor next) {
        this.next = next;
    }
}